package com.johnsoft.pph.gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;

import com.johnsoft.pph.Installer;

/**
 * GuiWelcome.java Next Button
 * @author Johnnei
 *
 */
public class GWButtonNext extends JButton implements ActionListener {
	
	public GWButtonNext()
	{
		this.setText("Install Pre-PreHistoric Mod");
		addActionListener(this);
	}
	
	public void actionPerformed(ActionEvent e)
	{
		if (e.getSource() != this)
			return;
		Installer.setup.setGUI(new GuiInstall());
	}
}
